package ltd.newbee.mall.util;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class Result<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "返回码")
    private int code;

    @Schema(description = "返回数据")
    private T data;

    @Schema(description = "返回信息")
    private String message;
}
